<?php
$title = '无权限';
$config = $config ?? ['app_name' => 'TV Auto Trading'];
$user = $user ?? null;
require __DIR__ . '/../partials/head.php';
require __DIR__ . '/../partials/nav.php';
?>
<section class="section">
    <div class="app-container">
        <div class="card" style="align-items:center;text-align:center;gap:12px;">
            <div class="badge">403</div>
            <h2>仅管理员可访问</h2>
            <p style="color:var(--text-secondary);">请使用管理员账号登录，或联系运维授权。</p>
            <a class="btn" href="/">返回首页</a>
        </div>
    </div>
</section>
<?php require __DIR__ . '/../partials/footer.php'; ?>
